package com.app.aipass.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class MyPacketEntity {

    private List<DataDTO> data;

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO implements MultiItemEntity {
        private Integer id;
        private Integer user_id;
        private Integer coin_id;
        private Integer p_id;
        private Integer cycle;
        private Integer status;
        private Integer quantity;
        private String price;
        private String amount;
        private Integer lease_days;
        private Integer income_days;
        private Integer receive_days;
        private Integer add_lease_days;
        private String acc_income;
        private String profit_ratio;
        private String expiration_time;
        private String active_value;
        private Integer updatetime;
        private String createtime;
        private String note;
        private Integer condition;
        private Integer is_dec_value;
        private Integer is_subsidy;
        private Integer type;
        private String days_ratio;
        private String all_release_amount;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getUser_id() {
            return user_id;
        }

        public void setUser_id(Integer user_id) {
            this.user_id = user_id;
        }

        public Integer getCoin_id() {
            return coin_id;
        }

        public void setCoin_id(Integer coin_id) {
            this.coin_id = coin_id;
        }

        public Integer getP_id() {
            return p_id;
        }

        public void setP_id(Integer p_id) {
            this.p_id = p_id;
        }

        public Integer getCycle() {
            return cycle;
        }

        public void setCycle(Integer cycle) {
            this.cycle = cycle;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Integer getQuantity() {
            return quantity;
        }

        public void setQuantity(Integer quantity) {
            this.quantity = quantity;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public Integer getLease_days() {
            return lease_days;
        }

        public void setLease_days(Integer lease_days) {
            this.lease_days = lease_days;
        }

        public Integer getIncome_days() {
            return income_days;
        }

        public void setIncome_days(Integer income_days) {
            this.income_days = income_days;
        }

        public Integer getReceive_days() {
            return receive_days;
        }

        public void setReceive_days(Integer receive_days) {
            this.receive_days = receive_days;
        }

        public Integer getAdd_lease_days() {
            return add_lease_days;
        }

        public void setAdd_lease_days(Integer add_lease_days) {
            this.add_lease_days = add_lease_days;
        }

        public String getAcc_income() {
            return acc_income;
        }

        public void setAcc_income(String acc_income) {
            this.acc_income = acc_income;
        }

        public String getProfit_ratio() {
            return profit_ratio;
        }

        public void setProfit_ratio(String profit_ratio) {
            this.profit_ratio = profit_ratio;
        }

        public String getExpiration_time() {
            return expiration_time;
        }

        public void setExpiration_time(String expiration_time) {
            this.expiration_time = expiration_time;
        }

        public String getActive_value() {
            return active_value;
        }

        public void setActive_value(String active_value) {
            this.active_value = active_value;
        }

        public Integer getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(Integer updatetime) {
            this.updatetime = updatetime;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public Integer getCondition() {
            return condition;
        }

        public void setCondition(Integer condition) {
            this.condition = condition;
        }

        public Integer getIs_dec_value() {
            return is_dec_value;
        }

        public void setIs_dec_value(Integer is_dec_value) {
            this.is_dec_value = is_dec_value;
        }

        public Integer getIs_subsidy() {
            return is_subsidy;
        }

        public void setIs_subsidy(Integer is_subsidy) {
            this.is_subsidy = is_subsidy;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getDays_ratio() {
            return days_ratio;
        }

        public void setDays_ratio(String days_ratio) {
            this.days_ratio = days_ratio;
        }

        public String getAll_release_amount() {
            return all_release_amount;
        }

        public void setAll_release_amount(String all_release_amount) {
            this.all_release_amount = all_release_amount;
        }

        @Override
        public int getItemType() {
            return status;
        }
    }
}
